package com.guigu.tms.commons.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 车辆行驶证表
 * </p>
 *
 * @author zwj
 * @since 2022-09-28
 */
@TableName("pd_truck_license")
public class TruckLicense implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "truck_license_id", type = IdType.AUTO)
    private Integer truckLicenseId;

    /**
     * id
     */
    private String id;

    /**
     * 车辆id
     */
    private String truckId;

    /**
     * 发动机编号
     */
    private String engineNumber;

    /**
     * 注册时间
     */
    private LocalDate registrationDate;

    /**
     * 国家强制报废日期
     */
    private LocalDate mandatoryScrap;

    /**
     * 检验有效期
     */
    private LocalDate expirationDate;

    /**
     * 整备质量
     */
    private BigDecimal overallQuality;

    /**
     * 核定载质量
     */
    private BigDecimal allowableWeight;

    /**
     * 外廓尺寸
     */
    private String outsideDimensions;

    /**
     * 行驶证有效期
     */
    private LocalDate validityPeriod;

    /**
     * 道路运输证号
     */
    private String transportCertificateNumber;

    /**
     * 图片信息
     */
    private String picture;

    public Integer getTruckLicenseId() {
        return truckLicenseId;
    }

    public void setTruckLicenseId(Integer truckLicenseId) {
        this.truckLicenseId = truckLicenseId;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getTruckId() {
        return truckId;
    }

    public void setTruckId(String truckId) {
        this.truckId = truckId;
    }
    public String getEngineNumber() {
        return engineNumber;
    }

    public void setEngineNumber(String engineNumber) {
        this.engineNumber = engineNumber;
    }
    public LocalDate getRegistrationDate() {
        return registrationDate;
    }

    public void setRegistrationDate(LocalDate registrationDate) {
        this.registrationDate = registrationDate;
    }
    public LocalDate getMandatoryScrap() {
        return mandatoryScrap;
    }

    public void setMandatoryScrap(LocalDate mandatoryScrap) {
        this.mandatoryScrap = mandatoryScrap;
    }
    public LocalDate getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(LocalDate expirationDate) {
        this.expirationDate = expirationDate;
    }
    public BigDecimal getOverallQuality() {
        return overallQuality;
    }

    public void setOverallQuality(BigDecimal overallQuality) {
        this.overallQuality = overallQuality;
    }
    public BigDecimal getAllowableWeight() {
        return allowableWeight;
    }

    public void setAllowableWeight(BigDecimal allowableWeight) {
        this.allowableWeight = allowableWeight;
    }
    public String getOutsideDimensions() {
        return outsideDimensions;
    }

    public void setOutsideDimensions(String outsideDimensions) {
        this.outsideDimensions = outsideDimensions;
    }
    public LocalDate getValidityPeriod() {
        return validityPeriod;
    }

    public void setValidityPeriod(LocalDate validityPeriod) {
        this.validityPeriod = validityPeriod;
    }
    public String getTransportCertificateNumber() {
        return transportCertificateNumber;
    }

    public void setTransportCertificateNumber(String transportCertificateNumber) {
        this.transportCertificateNumber = transportCertificateNumber;
    }
    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return "TruckLicense{" +
            "truckLicenseId=" + truckLicenseId +
            ", id=" + id +
            ", truckId=" + truckId +
            ", engineNumber=" + engineNumber +
            ", registrationDate=" + registrationDate +
            ", mandatoryScrap=" + mandatoryScrap +
            ", expirationDate=" + expirationDate +
            ", overallQuality=" + overallQuality +
            ", allowableWeight=" + allowableWeight +
            ", outsideDimensions=" + outsideDimensions +
            ", validityPeriod=" + validityPeriod +
            ", transportCertificateNumber=" + transportCertificateNumber +
            ", picture=" + picture +
        "}";
    }
}
